package net.wanho.result;

import lombok.Getter;

@Getter
public enum RoleEnum {
    SUPER_ADMIN(1, "超级管理员"),
    ADMIN(2, "管理员"),
    USER(3, "普通用户"),
    PURCHASE(11, "采购员"),
    IN(12, "入库员"),
    GOODS(13, "商品管理员"),
    OUT(14, "出库员"),
    TRANSFER(15, "调货员"),
    WAREHOUSE(16, "仓库管理员");

    private final Integer code;
    private final String name;

    RoleEnum(Integer code,String name) {
        this.code = code;
        this.name = name;
    }
}
